//
//  SXSWave.h
//  SXSRAC-iOS
//
//  Created by Angela on 16/9/23.
//  Copyright © 2016年 Angela. All rights reserved.
//

#import <UIKit/UIKit.h>
#define XNColor ([UIColor colorWithRed:26/256.0  green:168/256.0 blue:186/256.0 alpha:1])
typedef void(^SXSWaveBlock) (CGFloat currentY);
@interface SXSWave : UIView
@property (nonatomic, assign) CGFloat waveCurvature;//浪弯曲度
@property (nonatomic, assign) CGFloat waveSpeed;//浪速
@property (nonatomic, assign) CGFloat waveHeight;//浪高
@property (nonatomic, strong) UIColor *realWaveColor;//实浪颜色
@property (nonatomic, strong) UIColor *maskWaveColor;//遮罩浪颜色
@property (nonatomic, copy)SXSWaveBlock waveBlock;
- (void)stopWaveAnimation;
- (void)startWaveAnimation;
@end
